# $NetBSD: Makefile,v 1.3 2012/10/03 21:32:49 asau Exp $
#

DISTNAME=	oww-0.82.2
PKGREVISION=	1
CATEGORIES=	misc
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=oww/}

MAINTAINER=	pettai@nordu.net
HOMEPAGE=	http://oww.sourceforge.net/
COMMENT=	One-wire weather


GNU_CONFIGURE=	yes
#USE_LIBTOOL=	yes
USE_TOOLS+=	aclocal autoconf gmake perl

CONFIGURE_ARGS+=	--disable-gui
CONFIGURE_ARGS+=	--disable-nls

pre-configure:
	cd ${WRKSRC} && autoconf

do-build:
	cd ${WRKSRC}/src && gmake

do-install:
	cd ${WRKSRC}/src && gmake install

.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/libusb.buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
